<?php
/**
 * rakuten(乐天)平台账号
 * (model)
 */

namespace App\Models\Basics;


use Illuminate\Database\Eloquent\Model;

class SysPlatRakutenAccount extends Model {

    protected $connection = 'mysql';

    protected $table = 'b_sys_plat_rakuten_account';

    protected $guarded = [];

    //关联平台账号
    public function plat_account(){
        return $this->belongsTo(SysPlatAccount::class, 'account_id');
    }
}
